<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>行高的继承</title>
    <style>
        body {
            color: pink;
            font: 24px/1.5 "微软雅黑";
        }
        div {
            font-size: 30px;
        }

        .xxx {
            width: 300px;
            height: 300px;
            border: 10px solid orange;
            border-bottom: 10px solid yellow;
        }
    </style>
</head>
<body>
    <div>粉红色的回忆</div>
    <p>粉红色的回忆</p>

    <div class="xxx">

    </div>
</body>
</html>